package com.us.user.services.impl;

import java.util.List;

import com.us.user.dao.ICompanyProductsDAO;
import com.us.user.pojo.CompanyProducts;
import com.us.user.services.ICompanyProductsServices;

public class CompanyProductsServices implements ICompanyProductsServices {
	private ICompanyProductsDAO companyProductsDAO;

	public ICompanyProductsDAO getCompanyProductsDAO() {
		return companyProductsDAO;
	}

	public void setCompanyProductsDAO(ICompanyProductsDAO companyProductsDAO) {
		this.companyProductsDAO = companyProductsDAO;
	}

	public void addProducts(CompanyProducts companyProducts) {
		// TODO Auto-generated method stub
		companyProductsDAO.addProducts(companyProducts);
	}

	public void delProducts(int parseInt) {
		// TODO Auto-generated method stub
		companyProductsDAO.delProducts(parseInt);
	}

	public List getProductsList(int user_id) {
		// TODO Auto-generated method stub
		return companyProductsDAO.getProductsList(user_id);
	}
}
